﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MiniFox.Infrastructure
{
    /// <summary>
    /// 响应
    /// </summary>
    public interface IResponse
    {
        /// <summary>
        /// 响应消息说明
        /// </summary>
        string Message { get; set; }
        /// <summary>
        /// 错误代码
        /// </summary>
        string Code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        bool Success
        {
            get;
        }
    }
    /// <summary>
    /// 
    /// </summary>
    public interface IRedirectResponse
    {
        /// <summary>
        /// 
        /// </summary>
        string RedirectUri { get; set; }
    }
}
